<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'DetailSkeleton',
})
</script>

<template>
  <!--
  此文件为开发者工具生成，生成时间: 2025/3/20 下午7:39:46
  使用方法：
  在 C:\WebStormCode\heima-shop\heima-shop\dist\dev\mp-weixin\pagesOrder\detail\detail.wxml 引入模板

  ```
  <import src="detail.skeleton.wxml"/>
  <template is="skeleton" wx:if="{{loading}}" />
  ```

  在 C:\WebStormCode\heima-shop\heima-shop\dist\dev\mp-weixin\pagesOrder\detail\detail.wxss 中引入样式
  ```
  @import "./detail.skeleton.wxss";
  ```

  更多详细信息可以参考文档：https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
  -->
  <template name="skeleton">
    <view class="sk-container">
      <view class="navbar" style="padding-top: 20px">
        <view class="wrap">
          <navigator
            class="back icon-home sk-pseudo sk-pseudo-circle"
            open-type="switchTab"
          ></navigator>
          <view class="title sk-transparent sk-text-14-2857-658 sk-text">订单详情</view>
        </view>
      </view>
      <scroll-view scroll-y="true" class="viewport" id="scroller">
        <view class="overview sk-image" style="padding-top: 40px">
          <view
            class="status icon-clock sk-transparent sk-text-0-0000-658 sk-text sk-pseudo sk-pseudo-circle"
            >等待付款</view
          >
          <view class="tips sk-transparent">
            <text class="money sk-transparent sk-text-0-0000-407 sk-text">应付金额: ¥ 99.00</text>
            <text class="time sk-transparent sk-text-0-0000-556 sk-text">支付剩余</text> 00 时 29 分
            59 秒
          </view>
          <view
            class="button sk-transparent sk-text-28-1250-677 sk-text"
            style="background-position-x: 50%"
            >去支付</view
          >
        </view>
        <view class="shipment">
          <view class="item sk-image">
            <view class="message sk-transparent sk-text-14-2857-751 sk-text">
              您已在广州市天河区黑马程序员完成取件，感谢使用菜鸟驿站，期待再次为您服务。
            </view>
            <view class="date sk-transparent sk-text-14-2857-754 sk-text">
              2023-04-14 13:14:20
            </view>
          </view>
          <view class="locate sk-image">
            <view class="user sk-transparent sk-text-14-2857-304 sk-text"> 张三 13333333333 </view>
            <view class="address sk-transparent sk-text-14-2857-663 sk-text">
              广东省 广州市 天河区 黑马程序员
            </view>
          </view>
        </view>
        <view class="goods">
          <view class="item">
            <navigator class="navigator" hover-class="none">
              <image class="cover sk-image"></image>
              <view class="meta">
                <view class="name ellipsis sk-transparent sk-text-14-2857-802 sk-text"
                  >ins风小碎花泡泡袖衬110-160cm</view
                >
                <view class="type sk-transparent sk-text-22-2222-427 sk-text">藏青小花， 130</view>
                <view class="price">
                  <view class="actual">
                    <text class="symbol sk-transparent sk-opacity">¥</text>
                    <text class="sk-transparent sk-text-14-2857-888 sk-text">99.00</text>
                  </view>
                </view>
                <view class="quantity sk-transparent sk-opacity">x1</view>
              </view>
            </navigator>
            <navigator class="navigator" hover-class="none">
              <image class="cover sk-image"></image>
              <view class="meta">
                <view class="name ellipsis sk-transparent sk-text-14-2857-758 sk-text"
                  >ins风小碎花泡泡袖衬110-160cm</view
                >
                <view class="type sk-transparent sk-text-22-2222-431 sk-text">藏青小花， 130</view>
                <view class="price">
                  <view class="actual">
                    <text class="symbol sk-transparent sk-opacity">¥</text>
                    <text class="sk-transparent sk-text-14-2857-59 sk-text">99.00</text>
                  </view>
                </view>
                <view class="quantity sk-transparent sk-opacity">x1</view>
              </view>
            </navigator>
            <view class="action">
              <view
                class="button primary sk-transparent sk-text-28-3333-345 sk-text"
                style="background-position-x: 50%"
                >申请售后</view
              >
              <navigator
                class="button sk-transparent sk-text-28-3333-858 sk-text"
                style="background-position-x: 50%"
              >
                去评价
              </navigator>
            </view>
          </view>
          <view class="total">
            <view class="row">
              <view class="text sk-transparent sk-text-0-0000-316 sk-text">商品总价: </view>
              <view
                class="symbol sk-transparent sk-text-0-0000-455 sk-text sk-pseudo sk-pseudo-circle"
                >99.00</view
              >
            </view>
            <view class="row">
              <view class="text sk-transparent sk-text-0-0000-400 sk-text">运费: </view>
              <view
                class="symbol sk-transparent sk-text-0-0000-168 sk-text sk-pseudo sk-pseudo-circle"
                >10.00</view
              >
            </view>
            <view class="row">
              <view class="text sk-transparent sk-text-0-0000-384 sk-text">应付金额: </view>
              <view
                class="symbol primary sk-transparent sk-text-0-0000-992 sk-text sk-pseudo sk-pseudo-circle"
                >109.00</view
              >
            </view>
          </view>
        </view>
        <view class="toolbar" style="padding-bottom: 0px">
          <view class="button primary sk-transparent sk-text-14-2857-63 sk-text"> 去支付 </view>
          <view class="button sk-transparent sk-text-14-2857-705 sk-text"> 取消订单 </view>
        </view>
      </scroll-view>
    </view>
  </template>
</template>

<style scoped lang="scss">
/*
此文件为开发者工具生成，生成时间: 2025/3/20 下午7:39:46

在 C:\WebStormCode\heima-shop\heima-shop\dist\dev\mp-weixin\pagesOrder\detail\detail.wxss 中引入样式
```
@import "./detail.skeleton.wxss";
```

更多详细信息可以参考文档：https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
*/
.sk-transparent {
  color: transparent !important;
}
.sk-text-14-2857-658 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 44.8rpx;
  position: relative !important;
}
.sk-text {
  background-origin: content-box !important;
  background-clip: content-box !important;
  background-color: transparent !important;
  color: transparent !important;
  background-repeat: repeat-y !important;
}
.sk-text-0-0000-658 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 36rpx;
  position: relative !important;
}
.sk-text-0-0000-407 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 28rpx;
  position: relative !important;
}
.sk-text-0-0000-556 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 28rpx;
  position: relative !important;
}
.sk-text-28-1250-677 {
  background-image: linear-gradient(
    transparent 28.125%,
    #eeeeee 0%,
    #eeeeee 71.875%,
    transparent 0%
  ) !important;
  background-size: 100% 64rpx;
  position: relative !important;
}
.sk-text-14-2857-751 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-754 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-text-14-2857-304 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-663 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-text-14-2857-802 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-22-2222-427 {
  background-image: linear-gradient(
    transparent 22.2222%,
    #eeeeee 0%,
    #eeeeee 77.7778%,
    transparent 0%
  ) !important;
  background-size: 100% 43.2rpx;
  position: relative !important;
}
.sk-opacity {
  opacity: 0 !important;
}
.sk-text-14-2857-888 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-text-14-2857-758 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-22-2222-431 {
  background-image: linear-gradient(
    transparent 22.2222%,
    #eeeeee 0%,
    #eeeeee 77.7778%,
    transparent 0%
  ) !important;
  background-size: 100% 43.2rpx;
  position: relative !important;
}
.sk-text-14-2857-59 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-text-28-3333-345 {
  background-image: linear-gradient(
    transparent 28.3333%,
    #eeeeee 0%,
    #eeeeee 71.6667%,
    transparent 0%
  ) !important;
  background-size: 100% 60rpx;
  position: relative !important;
}
.sk-text-28-3333-858 {
  background-image: linear-gradient(
    transparent 28.3333%,
    #eeeeee 0%,
    #eeeeee 71.6667%,
    transparent 0%
  ) !important;
  background-size: 100% 60rpx;
  position: relative !important;
}
.sk-text-0-0000-316 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 26rpx;
  position: relative !important;
}
.sk-text-0-0000-455 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 26rpx;
  position: relative !important;
}
.sk-text-0-0000-400 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 26rpx;
  position: relative !important;
}
.sk-text-0-0000-168 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 26rpx;
  position: relative !important;
}
.sk-text-0-0000-384 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 26rpx;
  position: relative !important;
}
.sk-text-0-0000-992 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 36rpx;
  position: relative !important;
}
.sk-text-14-2857-63 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-705 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-image {
  background: #efefef !important;
}
.sk-pseudo::before,
.sk-pseudo::after {
  background: #efefef !important;
  background-image: none !important;
  color: transparent !important;
  border-color: transparent !important;
}
.sk-pseudo-rect::before,
.sk-pseudo-rect::after {
  border-radius: 0 !important;
}
.sk-pseudo-circle::before,
.sk-pseudo-circle::after {
  border-radius: 50% !important;
}
.sk-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}
</style>
